export default {
	state: {
		token: "",
		userInfo: {},
		status: false
	},
	getters: {

	},
	mutations: {
		setToken(state, token) {
			state.token = token
		},
		setUserInfo(state, info) {
			state.userInfo = info
			if (info) {
				state.status = true
			}
		},
		ClearUser(state) {
			state.token = ''
			state.userInfo = []
			state.status = false
		}
	},
	actions: {

	}
}